@using BlazorApp.Pages.Common.Metadata
@using BlazorApp.Pages.Event
@using BlazorApp.Pages.Common.Html.HTable
@inherits BlazorApp.Pages.Common.DrawerPageBase<k8s.Models.V1MutatingWebhookConfiguration>
@if (MutatingWebhookConfiguration != null)
{
    <MutatingWebhookConfigurationAction Item="MutatingWebhookConfiguration" MenuMode="MenuMode.Horizontal"></MutatingWebhookConfigurationAction>
    <Divider Orientation="left" Style="font-weight:bold">@L["Metadata"]</Divider>
    <MetadataView Item="MutatingWebhookConfiguration.Metadata" ExplainFieldPrefix="mutatingWebhookConfiguration"></MetadataView>
    <Divider Orientation="left" Style="font-weight:bold">@L["Spec"]</Divider>
    <HTable Bordered Column="1">
        <WebhooksView Webhooks="MutatingWebhookConfiguration.Webhooks" ExplainFieldPrefix="mutatingWebhookConfiguration.webhooks"></WebhooksView>
    </HTable>
    <MiniEventListView Uid="@MutatingWebhookConfiguration.Metadata.Uid"></MiniEventListView>
}
